* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* 筛选条件样式 */
.filters {
    background: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.status-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-btn {
    padding: 6px 12px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    color: #666;
}

.filter-btn.active {
    background: #000;
    color: #fff;
}

.category-filter select,
.time-filter select {
    padding: 6px 24px 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    min-width: 120px;
}

/* 表格样式 */
.course-table {
    width: 100%;
    background: #fff;
    border-radius: 4px;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.course-table th,
.course-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.course-table th {
    background: #fafafa;
    font-weight: 500;
}

.course-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.course-info img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.course-info .details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.course-info .course-name {
    font-weight: 500;
}

.course-info .course-meta {
    color: #999;
    font-size: 12px;
}

.status-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 12px;
}

.status-pending {
    background: #fff7e6;
    color: #fa8c16;
}

.status-approved {
    background: #f6ffed;
    color: #52c41a;
}

.status-rejected {
    background: #fff1f0;
    color: #f5222d;
}

.action-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 8px;
    font-size: 14px;
}

.btn-view {
    background: #e6f7ff;
    color: #1890ff;
}

.btn-approve {
    background: #000;
    color: #fff;
}

.btn-reject {
    background: #fff1f0;
    color: #ff4d4f;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.page-buttons {
    display: flex;
    gap: 8px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.page-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.page-btn.prev,
.page-btn.next {
    padding: 6px 10px;
}